package com.zcxy360.sandtable.domain;

import com.zcxy360.sandtable.domain.Plan;
import com.zcxy360.sandtable.domain.PlanExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PlanMapper {
	
//	
	Plan selectByPrimaryKeyWithExtra(Integer planId);
	List<Plan> listWithExtra(@Param("plan") Plan plan, @Param("key") String key, @Param("orderByClause") String orderByClause,@Param("sign") Integer sign);
	int deleteBatch(int[] planIds);
//
	
    long countByExample(PlanExample example);

    int deleteByExample(PlanExample example);

    int deleteByPrimaryKey(Integer planId);

    int insert(Plan record);

    int insertSelective(Plan record);

    List<Plan> selectByExample(PlanExample example);

    Plan selectByPrimaryKey(Integer planId);

    int updateByExampleSelective(@Param("record") Plan record, @Param("example") PlanExample example);

    int updateByExample(@Param("record") Plan record, @Param("example") PlanExample example);

    int updateByPrimaryKeySelective(Plan record);

    int updateByPrimaryKey(Plan record);

}